package gov.pbc.nn.kjgl.fxq.staff.entity;

import gov.pbc.nn.core.entity.BaseEntity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

/**
 * 任务管理业务中的任务实体
 * 
 * @author Administrator
 * 
 */
@Entity
@Table(name = "T_FXQ_STAFF_ENTTIY")
public class StaffEntity extends BaseEntity {

	private static final long serialVersionUID = -7157848560756067290L;

	@Column(name = "ORG_NAME", length = 100)
	@PropertyDef(label = "单位名称")
	private String orgName;
	
	@Column(name = "CNAME_", length = 16)
	@PropertyDef(label = "姓名")
	private String cname;
	
	@Column(name = "SEX_")
	@PropertyDef(label = "性别")
	private boolean sex;
	
	@Column(name = "BIRTHDATE_")
	@PropertyDef(label = "出生年月")
	private Date birthday;
	
	@Column(name = "ACADEMY_", length = 100)
	@PropertyDef(label = "毕业院校")
	private String academy;
	
	@Column(name = "SPECIALTY", length = 100)
	@PropertyDef(label = "专业")
	private String  specialty;
	
	@Column(name = "QUALIFICATION_", length = 64)
	@PropertyDef(label = "学历")
	private String qualification;
	
	@Column(name = "DUTY_", length = 64)
	@PropertyDef(label = "职务")
	private String duty;
	
	@Column(name = "HAS_LAW_")
	@PropertyDef(label = "是否有执法证")
	private boolean hasLaw;
	
	@Column(name = "YEARS_")
	@PropertyDef(label = "从事反洗钱工作年限")
	private int years;
	
	@Column(name = "DEPT_ID_", length = 60)
	private String deptId;
	
	@Column(name = "DEPT_NAME_", length = 200)
	@PropertyDef(label = "所属部门")
	private String deptName;

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public boolean isSex() {
		return sex;
	}

	public void setSex(boolean sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getAcademy() {
		return academy;
	}

	public void setAcademy(String academy) {
		this.academy = academy;
	}

	public String getSpecialty() {
		return specialty;
	}

	public void setSpecialty(String specialty) {
		this.specialty = specialty;
	}

	public String getQualification() {
		return qualification;
	}

	public void setQualification(String qualification) {
		this.qualification = qualification;
	}

	public String getDuty() {
		return duty;
	}

	public void setDuty(String duty) {
		this.duty = duty;
	}

	public boolean isHasLaw() {
		return hasLaw;
	}

	public void setHasLaw(boolean hasLaw) {
		this.hasLaw = hasLaw;
	}

	public int getYears() {
		return years;
	}

	public void setYears(int years) {
		this.years = years;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	
	
	
}
